#ifndef _ACHIEVESERIES_H_
#define _ACHIEVESERIES_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class AchieveSeries:public ReflectionBase
{
	DECL_REFLECTION(AchieveSeries,"../../config/AchieveSeries.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;
	int32			m_iOrder;
	std::string		m_sIcon;

	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<AchieveSeries> __AchieveSeriesManager; //eDefaultDef_Num
class AchieveSeriesManager:public __AchieveSeriesManager
{
public:
	static AchieveSeriesManager& Instance(){static AchieveSeriesManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
	const std::vector<const AchieveSeries*>& GetOrderedSeries() const { return m_vOrderedSeries;}
private:
	AchieveSeriesManager(){}
	std::vector<const AchieveSeries*> m_vOrderedSeries;
};

#endif
/////////////////////////////////////////
